<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::SPHSystem Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_s_p_h_system.html">SPHSystem</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_s_p_h_1_1_s_p_h_system-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::SPHSystem Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="namespace_s_p_h.html">SPH</a> system managing objects in the system level.  
 <a href="class_s_p_h_1_1_s_p_h_system.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="sph__system_8h_source.html">sph_system.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1d81d5d3a58821324298e2c90d27a31e"><td class="memItemLeft" align="right" valign="top"><a id="a1d81d5d3a58821324298e2c90d27a31e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>SPHSystem</b> (<a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a> system_domain_bounds, Real resolution_ref, <a class="el" href="classsize__t.html">size_t</a> number_of_threads=std::thread::hardware_concurrency())</td></tr>
<tr class="separator:a1d81d5d3a58821324298e2c90d27a31e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28cd00acbe20e0bf5396e6d359069c59"><td class="memItemLeft" align="right" valign="top"><a id="a28cd00acbe20e0bf5396e6d359069c59"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addABody</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *sph_body)</td></tr>
<tr class="separator:a28cd00acbe20e0bf5396e6d359069c59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac199391e4649c3abb18f6f0bd9878e38"><td class="memItemLeft" align="right" valign="top"><a id="ac199391e4649c3abb18f6f0bd9878e38"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addARealBody</b> (<a class="el" href="class_s_p_h_1_1_real_body.html">RealBody</a> *Real_body)</td></tr>
<tr class="separator:ac199391e4649c3abb18f6f0bd9878e38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ac71d808481b87e5010d756c1860b0e"><td class="memItemLeft" align="right" valign="top"><a id="a6ac71d808481b87e5010d756c1860b0e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addAFictitiousBody</b> (<a class="el" href="class_s_p_h_1_1_fictitious_body.html">FictitiousBody</a> *fictitious_body)</td></tr>
<tr class="separator:a6ac71d808481b87e5010d756c1860b0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a442476fcfa07e8b77c9b2410fb22542c"><td class="memItemLeft" align="right" valign="top"><a id="a442476fcfa07e8b77c9b2410fb22542c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>initializeSystemCellLinkedLists</b> ()</td></tr>
<tr class="separator:a442476fcfa07e8b77c9b2410fb22542c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69841bcef00095b29dc237a2e1841a43"><td class="memItemLeft" align="right" valign="top"><a id="a69841bcef00095b29dc237a2e1841a43"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>initializeSystemConfigurations</b> ()</td></tr>
<tr class="separator:a69841bcef00095b29dc237a2e1841a43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc13a32d289db428a82a00721f727253"><td class="memItemLeft" align="right" valign="top"><a id="acc13a32d289db428a82a00721f727253"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>handleCommandlineOptions</b> (<a class="el" href="classint.html">int</a> ac, char *av[])</td></tr>
<tr class="separator:acc13a32d289db428a82a00721f727253"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a04e180b1f52b8cf07f1f0c0ef0ad184e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_system.html#a04e180b1f52b8cf07f1f0c0ef0ad184e">system_domain_bounds_</a></td></tr>
<tr class="separator:a04e180b1f52b8cf07f1f0c0ef0ad184e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdba04a89c69bd619884e27aeb1a0d85"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_system.html#afdba04a89c69bd619884e27aeb1a0d85">resolution_ref_</a></td></tr>
<tr class="separator:afdba04a89c69bd619884e27aeb1a0d85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e0f4c97f651fb47b6efe70024b0161e"><td class="memItemLeft" align="right" valign="top">tbb::global_control&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_system.html#a6e0f4c97f651fb47b6efe70024b0161e">tbb_global_control_</a></td></tr>
<tr class="separator:a6e0f4c97f651fb47b6efe70024b0161e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8fa1222296aa6d6a189ed78fa1f11a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_in___output.html">In_Output</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_system.html#af8fa1222296aa6d6a189ed78fa1f11a5">in_output_</a></td></tr>
<tr class="separator:af8fa1222296aa6d6a189ed78fa1f11a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8857ddbfa363705aed7220755d8bc6b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_system.html#aa8857ddbfa363705aed7220755d8bc6b">restart_step_</a></td></tr>
<tr class="separator:aa8857ddbfa363705aed7220755d8bc6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7507f0cd0f83c6ccb5986ed23a58e91"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_system.html#ab7507f0cd0f83c6ccb5986ed23a58e91">run_particle_relaxation_</a></td></tr>
<tr class="separator:ab7507f0cd0f83c6ccb5986ed23a58e91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66b753581ddeda0bf9ee71a8b7c126b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_system.html#a66b753581ddeda0bf9ee71a8b7c126b2">reload_particles_</a></td></tr>
<tr class="separator:a66b753581ddeda0bf9ee71a8b7c126b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d48a961d6eb6dd5b305a83f8740453b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_s_p_h.html#ab8b3224d963eb73d7febbf0d5346f429">SPHBodyVector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_system.html#a0d48a961d6eb6dd5b305a83f8740453b">bodies_</a></td></tr>
<tr class="separator:a0d48a961d6eb6dd5b305a83f8740453b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1c1dcabfcf5aa3b75d086c7f687a9f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_s_p_h.html#ab8b3224d963eb73d7febbf0d5346f429">SPHBodyVector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_system.html#ac1c1dcabfcf5aa3b75d086c7f687a9f9">fictitious_bodies_</a></td></tr>
<tr class="separator:ac1c1dcabfcf5aa3b75d086c7f687a9f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a843281f20669d47a24b25cdbf6b4b848"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_s_p_h.html#ab8b3224d963eb73d7febbf0d5346f429">SPHBodyVector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_s_p_h_system.html#a843281f20669d47a24b25cdbf6b4b848">real_bodies_</a></td></tr>
<tr class="separator:a843281f20669d47a24b25cdbf6b4b848"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="namespace_s_p_h.html">SPH</a> system managing objects in the system level. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a0d48a961d6eb6dd5b305a83f8740453b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d48a961d6eb6dd5b305a83f8740453b">&#9670;&nbsp;</a></span>bodies_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_s_p_h.html#ab8b3224d963eb73d7febbf0d5346f429">SPHBodyVector</a> SPH::SPHSystem::bodies_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>All sph bodies. </p>

</div>
</div>
<a id="ac1c1dcabfcf5aa3b75d086c7f687a9f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1c1dcabfcf5aa3b75d086c7f687a9f9">&#9670;&nbsp;</a></span>fictitious_bodies_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_s_p_h.html#ab8b3224d963eb73d7febbf0d5346f429">SPHBodyVector</a> SPH::SPHSystem::fictitious_bodies_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The bodies without inner particle configuration. </p>

</div>
</div>
<a id="af8fa1222296aa6d6a189ed78fa1f11a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8fa1222296aa6d6a189ed78fa1f11a5">&#9670;&nbsp;</a></span>in_output_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_in___output.html">In_Output</a>* SPH::SPHSystem::in_output_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>in_output setup </p>

</div>
</div>
<a id="a843281f20669d47a24b25cdbf6b4b848"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a843281f20669d47a24b25cdbf6b4b848">&#9670;&nbsp;</a></span>real_bodies_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_s_p_h.html#ab8b3224d963eb73d7febbf0d5346f429">SPHBodyVector</a> SPH::SPHSystem::real_bodies_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The bodies with inner particle configuration. </p>

</div>
</div>
<a id="a66b753581ddeda0bf9ee71a8b7c126b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66b753581ddeda0bf9ee71a8b7c126b2">&#9670;&nbsp;</a></span>reload_particles_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> SPH::SPHSystem::reload_particles_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>start the simulation with relaxed particles. </p>

</div>
</div>
<a id="afdba04a89c69bd619884e27aeb1a0d85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdba04a89c69bd619884e27aeb1a0d85">&#9670;&nbsp;</a></span>resolution_ref_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Real SPH::SPHSystem::resolution_ref_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>refernce resolution of the <a class="el" href="namespace_s_p_h.html">SPH</a> system </p>

</div>
</div>
<a id="aa8857ddbfa363705aed7220755d8bc6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8857ddbfa363705aed7220755d8bc6b">&#9670;&nbsp;</a></span>restart_step_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsize__t.html">size_t</a> SPH::SPHSystem::restart_step_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>restart step </p>

</div>
</div>
<a id="ab7507f0cd0f83c6ccb5986ed23a58e91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7507f0cd0f83c6ccb5986ed23a58e91">&#9670;&nbsp;</a></span>run_particle_relaxation_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> SPH::SPHSystem::run_particle_relaxation_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>run particle relaxation for body fitted particle distribution </p>

</div>
</div>
<a id="a04e180b1f52b8cf07f1f0c0ef0ad184e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04e180b1f52b8cf07f1f0c0ef0ad184e">&#9670;&nbsp;</a></span>system_domain_bounds_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a> SPH::SPHSystem::system_domain_bounds_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Lower and Upper domain bounds. </p>

</div>
</div>
<a id="a6e0f4c97f651fb47b6efe70024b0161e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e0f4c97f651fb47b6efe70024b0161e">&#9670;&nbsp;</a></span>tbb_global_control_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">tbb::global_control SPH::SPHSystem::tbb_global_control_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>global controling on the total number parallel threads </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/sphinxsys_system/<a class="el" href="sph__system_8h_source.html">sph_system.h</a></li>
<li>SPHINXsys/src/shared/sphinxsys_system/<a class="el" href="sph__system_8cpp.html">sph_system.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
